package cn.edu.zsc.study.mapper;

import cn.edu.zsc.study.common.mapstruct.BaseMapper;
import cn.edu.zsc.study.dto.UserCreateDto;
import cn.edu.zsc.study.entity.User;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * @author Yao
 */
@Mapper(componentModel = "spring",  unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserMapper extends BaseMapper<UserCreateDto, User> {
}
